package com.gp.entity;

import lombok.Data;

import java.util.Date;
import java.io.Serializable;

/**
 * 冷能数据表(ColdData)实体类
 *
 * @author makejava
 * @since 2024-04-22 17:17:19
 */
@Data
public class ColdData implements Serializable {
    private static final long serialVersionUID = 179974985573013499L;
    /**
     * 数据编号
     */
    private String id;
    /**
     * 采集到的值
     */
    private String value;
    /**
     * 单位
     */
    private String unit;
    /**
     * 采集频率
     */
    private String speed;
    /**
     * 采集设备编号
     */
    private Long pointId;
    /**
     * 创建时间（采集时间）
     */
    private Date createTime;
    /**
     * 逻辑删除，0失效 1生效
     */
    private Integer flag;

    private Long updaterId;

    private Date updateTime;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getSpeed() {
        return speed;
    }

    public void setSpeed(String speed) {
        this.speed = speed;
    }

    public Long getPointId() {
        return pointId;
    }

    public void setPointId(Long pointId) {
        this.pointId = pointId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    public Long getUpdaterId() {
        return updaterId;
    }

    public void setUpdaterId(Long updaterId) {
        this.updaterId = updaterId;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

}

